//
//  HELSecoalistListCell.m
//  NursingAssociation
//
//  Created by wsj2015 on 2017/3/13.
//  Copyright © 2017年 wsj2015. All rights reserved.
//

#import "HELSecoalistListCell.h"
#import "UIImageView+BTimageView.h"
@implementation HELSecoalistListCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}


- (void)setModel:(HELSecoalistModel *)model{
    
    self.nameL.text = model.lecturerName;
//    self.addressL.text= model;
    [self.avaterImg nc_setImageWithUrl:model.imageUrl];
    self.addressL.text = model.unitName;
    
    self.totalL.text = [NSString stringWithFormat:@"共有%@门相关课程",model.courseNumber?model.courseNumber:@(0)];
   
}

@end
